package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.common.utils.Query;
import gov.ccswj.modules.ccbusiness.dao.CRegisterinfoDao;
import gov.ccswj.modules.ccbusiness.entity.CRegisterinfoEntity;
import gov.ccswj.modules.ccbusiness.service.CRegisterinfoService;



@Service("cRegisterinfoService")
public class CRegisterinfoServiceImpl implements CRegisterinfoService {
	@Autowired
	private CRegisterinfoDao cRegisterinfoDao;
	
	@Override
	public CRegisterinfoEntity queryObject(Integer id){
		return cRegisterinfoDao.queryObject(id);
	}
	
	@Override
	public List<CRegisterinfoEntity> queryList(Map<String, Object> map){
		return cRegisterinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cRegisterinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CRegisterinfoEntity cRegisterinfo){
		cRegisterinfoDao.save(cRegisterinfo);
	}
	
	@Override
	public void update(CRegisterinfoEntity cRegisterinfo){
		cRegisterinfoDao.update(cRegisterinfo);
	}
	
	@Override
	public void delete(Integer id){
		cRegisterinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cRegisterinfoDao.deleteBatch(ids);
	}

	@Override
	public CRegisterinfoEntity queryObjectByName(String entname) {
		return cRegisterinfoDao.queryObjectByName(entname);
	}

	@Override
	public void deleteByName(String entname) {
		cRegisterinfoDao.deleteByName(entname);
	}

	@Override
	public List<CRegisterinfoEntity> listcompany(Map<String, Object> map){
		return cRegisterinfoDao.listcompany(map);
	}

	@Override
	public int queryTotalcompany(Map<String, Object> map) {
		return cRegisterinfoDao.queryTotalcompany(map);
	}
	
}
